import os
from datetime import datetime
import dxomark.analyzer.lightingcontrol as lc

upload = datetime.now().strftime('%Y-%m-%d-%H-%M-%S')
print(upload)
os.makedirs('F:\\lightlist\\{}'.format(upload))
hwnd = lc.ensureLightingControlIsRunning()
hwnd = lc.ensureLightingControlIsRunning(True)
lc.setLuxmeters('GO00535', 'GO00534')
lc.calibrate('force', 'F:\\lightlist\\{}'.format(upload))
